<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<% 
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>大连开发区健身中心</title>
		<link type="text/css" rel="stylesheet" href="<%=path %>/admin/styles/default.css" />
		<script type="text/javascript" src="<%=path %>/res/js/jquery.js"></script>
		<script type="text/javascript" src="<%=path %>/res/js/common.js"></script>
		<script type="text/javascript" src="<%=path %>/admin/utils/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="<%=path%>/admin/utils/xheditor/xheditor-zh-cn.min.js"></script>
		<script type="text/javascript" src="<%=path %>/admin/pages/message/js/audit.js"></script>
	</head>
	<body>
		<input type="hidden" id="message" value="${message}"/>
		<input type="hidden" id="webPath" value="<%=path %>"/>
		<table id="table-data-outter">
			<tr>
				<td>
					<table id="table-data-inner" cellspacing="1">
						<tr id="tr-menu-path">
							<td colspan="5" nowrap="nowrap">
								<fieldset id="f-menu-path">当前位置:&nbsp;信息管理 &gt; 信息审核</fieldset>
								<fieldset id="f-condition-display">
										<img src="<%=path%>/admin/images/main/display_on.gif" onclick="displayCondition(this,'tr-menu-path')" 
											align="bottom" width="17" height="15" alt="隐藏查询条件" /></fieldset>
							</td>
						</tr>
						<tr id="tr-condition">
							<td width="30%" class="field-title">信息标题: </td>
							<td width="20%" class="field-content">
								<s:property value="messageBean.msgTitle"/>
							</td>
							<td width="20%" class="field-title">信息栏目: </td>
							<td width="30%" class="field-content">
								<s:property value="messageBean.typeName"/>
							</td>
						</tr>
						<tr id="tr-condition">
							<td width="20%" class="field-title">信息来源: </td>
							<td width="30%" class="field-content">
								<s:property value="messageBean.msgSource"/>
							</td>
							<td width="20%" class="field-title">是否允许评论: </td>
							<td width="30%" class="field-content">
								<s:if test='messageBean.disEnable == "0"'>
								是
								</s:if>
								<s:if test='messageBean.disEnable == "1"'>
								否
								</s:if>
							</td>
						</tr>
						<tr id="tr-condition">
							<td width="15%" class="field-title">信息内容: </td>
							<td width="85%" class="field-content" colspan="3">
								<textarea id="editor" name="editor"
								style="width: 680px; height:350px; border: 1px"><s:property value="messageBean.msgContent"/></textarea>
							</td>
						</tr>
						<tr id="tr-condition">
							<td width="15%" class="field-title">信息封面: </td>
							<td width="85%" class="field-content" colspan="3">
								<s:if test='messageBean.msgCover != ""'>
                                                                    <img src="<%=path %><s:property value="messageBean.msgCover"/>" width="200" height="200" alt="" />
								</s:if>
								
							</td>
						</tr>
						<tr id="tr-condition">
							<td width="15%" class="field-title">驳回原因: </td>
							<td width="85%" class="field-content" colspan="3">
								<textarea id="rejectReason" name="rejectReason"
								style="width: 680px; height:50px;border: 1px solid #dadada;"></textarea>
							</td>
						</tr>
					</table>
					<div id="div-button" align="center">
						<input type="button" value="发布信息" onclick="submit(3)"/>
						<input type="button" value="驳回信息" onclick="submit(2)" style="margin-left:10px;"/>
						<input type="button" value="返　　回" onclick="goBack()" style="margin-left:10px;"/>
					</div>
				</td>
			</tr>
		</table>
		<form name="form1" method="post" action="">
			<input type="hidden" id="reason" name="reason" value=""/>
			<input type="hidden" id="msgId" name="messageBean.msgId" value="<s:property value="messageBean.msgId"/>"/>
			<input type="hidden" id="msgState" name="messageBean.msgState" value="<s:property value="messageBean.msgState"/>"/>
		</form>
	</body>
</html>